package com.jason.exp.utils;

import org.apache.commons.lang3.StringUtils;

/**
 * Created by fuyongde on 16/9/1.
 */
public class StringUtil {

    public static String blankToNullWithTrim(String param) {
        if (StringUtils.isBlank(param)) {
            param = null;
        }
        param = StringUtils.trim(param);
        return param;
    }
}
